package org.redis.cluster.config;

import java.util.UUID;

public class IdGenerator {

	/**
	 * 返回ID
	 * @return
	 */
	public static String getId() {
		return UUID.randomUUID().toString().replace("-", "").substring(0, 10);
	}
}